package com.haoze.nurseapp.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.nurseapp.model.AtomizeMedReturnEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author: Chenchao
 * @CreateTime: 2020-12-01 10:21
 */
public interface AtomizeMedReturnMapper extends MyMapper<AtomizeMedReturnEntity> {
    int updateByQrCode(@Param("qrCode") String qrCode);

    List<Map<String, Object>> queryByWardId(@Param("wardId") String wardId,@Param("type") String type);

    String queryIsStop(@Param("qrCode")String qrCode);
}
